<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>用户系统</title>
    <meta name="keywords"  content="设置关键词..." />
    <meta name="description" content="设置描述..." />
    <meta name="author" content="DeathGhost" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <link rel="icon" href="images/icon/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <link rel="stylesheet" type="text/css" href="layui-v2.5.7/layui/css/layui.css" />
    <script src="layui-v2.5.7/layui/layui.js"></script>
    <script src="javascript/jquery.js"></script>
    <script src="javascript/plug-ins/customScrollbar.min.js"></script>
    <script src="javascript/plug-ins/echarts.min.js"></script>
    <script src="javascript/plug-ins/layerUi/layer.js"></script>
    <script src="editor/ueditor.config.js"></script>
    <script src="editor/ueditor.all.js"></script>
    <script src="javascript/plug-ins/pagination.js"></script>
    <script src="javascript/public.js"></script>
</head>

<body scroll="no">
<div style="height: 500px;width: 100%">
<div class="main-wrap">

    <div class="content-wrap">
        <header class="top-hd" style="padding-left: 2.5%">
            <em><div style="color: darkgray;float: left">用户系统/</div><div style="color: black;float: left"><i class="icon-home"></i>用户界面</div></em>
            <div class="hd-rt">
                <ul>
                    <li id="Tiao">
                        <a onclick="res()" href="/user/OrderBed.html" target="YongHu" ><i class="icon-random"></i>跳转至下单界面</a>
                    </li>
                    <li>
                        <a><i class="icon-user"></i>用户:<em id="yonghu">DeathGhost</em></a>
                    </li>
                    <li>
                        <a onclick="tuichu()" id="JsSignOut"><i class="icon-signout"></i>安全退出</a>
                    </li>
                </ul>
            </div>
        </header>
        <main class="main-cont content mCustomScrollbar" style="padding-left: 20px">
            <div class="page-wrap" style="padding: 0px">
                <!--开始::内容-->
                <iframe frameborder="0" name="YongHu" width="100%" height="1000px" src="/user/UserMoney.html" id="ifr">

                </iframe>
                <!--开始::结束-->
            </div>
        </main>
        <footer class="btm-ft">

        </footer>
    </div>
</div>
</div>
</body>
</html>
<script>
    var i=0;
function res(){
    if(i==1) {
        var html = "<a onclick='res()' href='/user/OrderBed.html' target='YongHu'><i class='icon-random'></i>跳转至下单界面</a>"
        $("#Tiao").html(html);
        i=0;
    }else{
        var html="<a onclick='res()' href='/user/UserMoney.html' target='YongHu'><i class='icon-random'></i>跳转至主界面</a>"
        $("#Tiao").html(html);
        i=1;
    }
}
    $(document.body).css({
        "overflow-x":"hidden",
        "overflow-y":"hidden"
    });


    function tuichu(){
        $.ajax({
            url:"/login/logout",
            type:"get",
            data:{'i':0},
            datatype:"json",
	          sync:false,
            success:function(){
            }
        })
    }

</script>
